package com.java.sa.user.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.java.common.utils.PageUtils;
import com.java.common.utils.Query;

import com.java.sa.user.dao.BonusLogsDao;
import com.java.sa.user.entity.BonusLogs;
import com.java.sa.user.service.BonusLogsService;

@Service("bonusLogsService")
public class BonusLogsServiceImpl extends ServiceImpl<BonusLogsDao, BonusLogs> implements BonusLogsService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<BonusLogs> page = this.page(
                new Query<BonusLogs>().getPage(params),
                new QueryWrapper<>()
        );

        return new PageUtils(page);
    }

}